package org.example.main.service;

import org.example.main.entity.Favorite;
import java.util.List;

public interface FavoriteService {
    int add(Favorite favorite);
    int removeById(long favoriteId);
    int removeByTenantAndHouse(long tenantId, long houseId);
    List<Favorite> findAll();
    List<Favorite> getByTenantId(long tenantId);
    List<Favorite> getByHouseId(long houseId);
    Favorite getByTenantAndHouse(long tenantId, long houseId);
}

